<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
    </head>
    <body>
        <script>
            // arguments: 实参集合,类数组
            function fn() {
                console.log(arguments);
            }

            //arguments: 箭头函数没有实参集合
            let fn2 = () => {
                console.log(arguments);
            };
            fn(1, 2, 3, 4);
            fn2(1, 2, 3, 4);
        </script>
    </body>
</html>
